package com.travel.api.service.order.impl


import com.travel.api.beans.order.OrderType
import com.travel.api.interfaces.OrderTypeMapper
import com.travel.api.service.order.OrderTypeService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

/**
 * @ClassName OrderTypeServiceImpl
 * @Author liguangyao
 * @Date 29/8/18 下午2:22
 * @Version 1.0
 */
@Service
class OrderTypeServiceImpl : OrderTypeService {

    @Autowired
    lateinit var mapper: OrderTypeMapper


    override fun orderTypeList(): List<OrderType> {
        return mapper.selectAll()
    }
}
